<?php
	if(isset($_GET['MaLoai']))
	{
		$MaLoai=$_GET['MaLoai'];
		include"connection.php";
		$query="Delete from loaisanpham where MaLoai=$MaLoai";
		$result=mysql_query($query);
		header("location:../MyModel/TrangAD_qlloai.php");
		mysql_close($con);
	}
?>